<div class="btn-group pull-right" style="margin-right: 10px">
    <a class="btn btn-sm btn-twitter"><i class="fa fa-table"></i> 导入</a>
    <button type="button" class="btn btn-sm btn-twitter dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
        <span class="sr-only">Toggle Dropdown</span>
    </button>
    <ul class="dropdown-menu" role="menu">
        <li>
            <a href="javascript:;" data-toggle="modal" data-target="#excel_import_modal">从Excel导入</a>
        </li>
        <li>
        </li>
    </ul>
</div>


<div class="modal fade" id="excel_import_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    <span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">上传文件</h4>
            </div>

            <div class="modal-body">
                <form class="form-horizontal" method="post" pjax-container  id="{{ $form_id }}" enctype="multipart/form-data">
                    <input type="hidden" name="_token" value="{{ csrf_token() }}" >
                    <div class="box-body">
                        <div class="fields-group">
                            {!! $file_input_field !!}
                        </div>
                    </div>
                    <div class="box-footer">
                        <div class="2"></div>
                        <div class="8">
                            <div class="btn-group pull-right">
                                <button type="button" class="btn btn-info pull-right" id="{{ $form_id }}_submit_btn"
                                        data-dismiss="modal" data-loading-text="<i class='fa fa-spinner fa-spin '></i> 提交">提交
                                </button>
                            </div>
                        </div>

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
